package com.laf.manager.service;

import com.laf.manager.dto.Member;

import java.io.OutputStream;
import java.util.List;

public interface MemberService {

    Member findById(Integer memberId);

    List<Integer> getVisitTimesMonthly(String year);

    List<Integer> getVisitCountMonthly(String year);

    List<Integer> getActiveMembersCountMonthly(String year);

    int getMemberCountBySex(int sex);

    int getMemberCountByAge(int min, int max);

    List<Integer> getMemberCountByBirthday();

    List<Integer> getRegisterCountMonthly(String year);

    List<Integer> getMemberCountMonthly(String year);

    void print2Excel(List<Member> members, OutputStream out);

    int updatePoints(int memberId, int cumulatePoints, int useablePoints);
}
